package com.wy.entity;

public class Chapter {

	private Integer id;
	private String title;
	private String url;
	private String targetUrl;
	private Book book = new Book();
	
	public Chapter(){
		
	}
	public Chapter(Integer id,String title,String url,Book book){
		this.id = id;
		this.title = title;
		this.url = url;
		this.book = book;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Book getBook() {
		return book;
	}
	public void setBook(Book book) {
		this.book = book;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getTargetUrl() {
		return targetUrl;
	}
	public void setTargetUrl(String targetUrl) {
		this.targetUrl = targetUrl;
	}
	
}
